package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.addplus.townmall.server.api.model.base.BaseRestModel;
import com.baomidou.mybatisplus.annotation.TableField;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商城店铺统计信息表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-08-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("store_statistics")
public class StoreStatistics extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 商城店铺主键id
     */
    @TableField("store_id")
    private Integer storeId;
    /**
     * 浏览人数
     */
    @TableField("visti_counts")
    private Integer vistiCounts;
    /**
     * 下单人数
     */
    @TableField("order_user_count")
    private Integer orderUserCount;
    /**
     * 订单数
     */
    @TableField("order_count")
    private Integer orderCount;
    /**
     * 下单件数
     */
    @TableField("order_product_count")
    private Integer orderProductCount;
    /**
     * 下单金额
     */
    @TableField("order_amount")
    private BigDecimal orderAmount;
    /**
     * 下单付款人数
     */
    @TableField("order_pay_user_count")
    private Integer orderPayUserCount;
    /**
     * 付款订单数
     */
    @TableField("order_pay_count")
    private Integer orderPayCount;
    /**
     * 付款下单件数
     */
    @TableField("sale_counts")
    private Integer saleCounts;
    /**
     * 付款金额
     */
    @TableField("sale_amounts")
    private BigDecimal saleAmounts;
    /**
     * 退款件数
     */
    @TableField("order_refund_product_count")
    private Integer orderRefundProductCount;
    /**
     * 退款金额
     */
    @TableField("order_refund_amount")
    private BigDecimal orderRefundAmount;
    /**
     * 退款订单数
     */
    @TableField("order_refund_count")
    private Integer orderRefundCount;
    /**
     * 件单价
     */
    @TableField("unit_price")
    private BigDecimal unitPrice;
    /**
     * 连带率
     */
    @TableField("joint_rate")
    private BigDecimal jointRate;
    /**
     * 是否删除(0:否 1:是)
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
